package com.example.springboot014blogadmin.service;

import com.example.springboot014blogadmin.model.dto.ArticleDTO;
import com.example.springboot014blogadmin.model.param.ArticleParam;
import com.example.springboot014blogadmin.po.ArticlePO;

import java.util.List;

public interface ArticleService {
    List<ArticlePO> queryTopArticle();

    boolean addArticle(ArticleDTO articleDTO);

    boolean modifyArticle(ArticleParam param);

    int removeArticle(List<Integer> ids);
    ArticleDTO queryByArticleId(Integer id);

    String queryTop20Detail(Integer id);
}
